package com.pet.system;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pet.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author whd
 * @since 2023-08-04
 */
@Data
@ApiModel(description = "订单表")
@TableName("sys_order")
public class SysOrder extends BaseEntity {


    private static final long serialVersionUID = 1L;

    /**
     * 会诊ID
     */
    @ApiModelProperty(value = "会诊ID")
    @TableField("consultation_id")
    private String consultationId;

    /**
     * 医生执业编号
     */
    @ApiModelProperty(value = "医生执业编号")
    @TableField("license_number")
    private String licenseNumber;

    /**
     * 用户id，关联用户表
     */
    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Long userId;

    /**
     * 宠物id
     */
    @ApiModelProperty(value = "宠物id")
    @TableField("p_id")
    private Long pId;

    /**
     * 病症描述id
     */
    @ApiModelProperty(value = "病症描述id")
    @TableField("s_id")
    private Integer sId;


    /**
     * 金额
     */
    @ApiModelProperty(value = "会诊id")
    @TableField("amount")
    private Integer amount;


}
